package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系统导航对象 sys_nav
 * 
 * @author ruoyi
 * @date 2023-03-26
 */
public class SysNav extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系统导航表 */
    private Long navId;

    /** 导航名称 */
    @Excel(name = "导航名称")
    private String navName;

    /** 是否显示 */
    @Excel(name = "是否显示" , readConverterExp = "0=显示,1=隐藏")
    private Integer isShow;

    /** 是否新窗口 */
    @Excel(name = "是否新窗口" , readConverterExp = "0=本窗口,1=新窗口")
    private Integer isNew;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String url;

    /** 导航状态（0正常 1关闭） */
    @Excel(name = "导航状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    public void setNavId(Long navId) 
    {
        this.navId = navId;
    }

    public Long getNavId() 
    {
        return navId;
    }
    public void setNavName(String navName) 
    {
        this.navName = navName;
    }

    public String getNavName() 
    {
        return navName;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }
    public void setIsNew(Integer isNew) 
    {
        this.isNew = isNew;
    }

    public Integer getIsNew() 
    {
        return isNew;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("navId", getNavId())
            .append("navName", getNavName())
            .append("isShow", getIsShow())
            .append("isNew", getIsNew())
            .append("sort", getSort())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
